<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<%@ include file="../include/include.jsp"%>
<title>更多交易评价_麦麦车二手车网络超市</title>
<meta name="description"
	content="打造中国领先的二手车网络超市，专业的综合一站式二手车交易平台，优选二手车供应商，特定筛选二手车源，专业二手车查定、免费二手车评估、二手车收购、二手车整备、二手车翻新、二手车销售，运用先进模型进行合理二手车定价、一口价、真不二价，为用户提供三大保证的质量认证二手车" />
<meta name="Keywords"
	content="麦麦车,厦门二手车买卖,二手车一口价,杏林二手车,集美二手车,厦门二手车交易市场,二手车超市" />
<link rel="stylesheet" type="text/css" href="${contextPath}/resources/css/comment.css">
</head>
<body>
	<%@ include file="../include/head.jsp"%>
	<!--#cnt 中间的内容-->
	<div id="cnt">
		<div class="cnt-wrap">
			<div class="left-cnt f-fl">
				<!--path-wrap 面包屑-->
				<div class="path-wrap">
					<div class="path">
						<span>当前位置：</span>
						<a href="${contextPath}">二手车网络超市</a>
						<span>&gt;</span>
						<span>车友评价</span>
					</div>
				</div>
				<!--path-wrap end-->
				<ul class="comment-wrap">
					<c:forEach var="car" items="${saledCars }" varStatus="status">
					<li>
						<div class="comment-title">
							<h2 class="f-fl text-ellipsis">
								${car.online.title }
							</h2>
							<span class="f-fr comment-time">
								${car.comment.makeDate}
							</span>
							<div class="f-clear"></div>
						</div>
						<c:if test="${not empty car.comment.feeling}">
						<div class="comment">
							<span class="f-fl">客户评价：</span>
							<p class="f-fl">
								${car.comment.feeling }
							</p>
							<div class="f-clear"></div>
						</div>
						</c:if>
						<c:if test="${not empty car.comment.reply}">
						<div class="reply">
							<span class="f-fl">客服回复：</span>
							<p class="f-fl">
								${car.comment.reply}
							</p>
							<div class="f-clear"></div>
						</div>
						</c:if>
					</li>
					</c:forEach>
				</ul>
				<c:if test="${pageMan.totalPage > 1}">
				<!--pagination-wrap 页码-->
				<div class="pagination">
					<div class="pagination-wrap">
				        <c:if test="${pageMan.pageNo!=1}">
						<a href="${contextPath}/comment/P${pageMan.pageNo-1}" class="mmche-icon pre-positive page">
							上一页
						</a>
						</c:if>
						<c:if test="${pageMan.pageNo ==1}">
						<span class="mmche-icon pre-negative page">
							上一页
						</span>
						</c:if>
						<c:if test="${pageMan.pageStart>1}">
						<a href="${contextPath}/comment/P1">
							1
						</a>
						</c:if>
						<c:if test="${pageMan.pageStart>2}">
						<a href="${contextPath}/comment/P2">
							2
						</a>
						</c:if>
						<c:if test="${pageMan.pageStart>3}">
		 					<span>...</span>
		 				</c:if>
						<c:forEach var="i" begin="${pageMan.pageStart}" end="${pageMan.pageEnd}" step="1">
							<a href="${contextPath}/comment/P${i}" ${pageMan.pageNo == i ? 'class="crt-pagination"' : ''}>${i}</a>
	 					</c:forEach>
	 					<c:if test="${pageMan.pageEnd<pageMan.totalPage-2}">
		 					<span>...</span>
		 				</c:if>
						<c:if test="${pageMan.pageEnd<pageMan.totalPage-1}">
						<a href="${contextPath}/comment/P${pageMan.totalPage-1}">
							${pageMan.totalPage-1}
						</a>
						</c:if>
						<c:if test="${pageMan.pageEnd<pageMan.totalPage}">
						<a href="${contextPath}/comment/P${pageMan.totalPage}">
							${pageMan.totalPage}
						</a>
						</c:if>
						<c:if test="${pageMan.pageNo != pageMan.totalPage}">
						<a href="{contextPath}/comment/P${pageMan.pageNo+1}" class="mmche-icon next-positive page">
							下一页
						</a>
						</c:if>
						<c:if test="${pageMan.pageNo == pageMan.totalPage}">
						<span class="mmche-icon next-negative page">
							下一页
						</span>
						</c:if>
						<div class="f-clear"></div>
					</div>
				</div>
				<!--pagination-wrap end-->
				</c:if>
			</div>
			<div class="right-cnt f-fr">
				<c:if test="${not empty promoCars }">
				<!--cnt-wrap 限时特卖-->
				<div class="cnt-wrap">
					<div class="cnt-hd-wrap">
						<h2 class="f-fl">
							限时特卖
						</h2>
						<div class="f-clear"></div>
					</div>
					<ul class="cnt-list">
						<c:forEach var="promoCar" items="${promoCars}" varStatus="status">
						<li ${status.last ? 'class="border-none"':'' }>
							<div class="cnt-pro-img v-h-center">
								<a href="${contextPath}/car/${promoCar.id}.html">
									<img src="${promoCar.imgPath}/${promoCar.indexMainPicName}" title="${promoCar.online.title}" alt="${promoCar.online.title}" width="208px" height="166px"/>
								</a>
							</div>
							<div class="text-ellipsis cnt-pro-name">
								<a href="${contextPath}/car/${promoCar.id}.html">
									${promoCar.online.title}
								</a>
							</div>
							<div class="cnt-pro-info text-ellipsis">
								<span>${promoCar.registerMonth}</span>&nbsp;&nbsp;<span>${promoCar.mileage}万公里</span>
							</div>
							<div class="cnt-pro-info text-ellipsis">
								麦麦车一口价：<span class="price-sum">
								￥${promoCar.price}
							</span>
							</div>
						</li>
						</c:forEach>
					</ul>
				</div>
				<!--cnt-wrap end-->
				</c:if>
				<!--cnt-wrap 历史浏览-->
				<c:if test="${not empty viewdCars }">
				<div class="cnt-wrap">
					<div class="cnt-hd-wrap">
						<h2 class="f-fl">
							历史浏览
						</h2>
						<div class="f-clear"></div>
					</div>
					<ul class="cnt-list">
						<c:forEach var="historyCar" items="${viewdCars}" varStatus="status">
						<li ${status.last ? 'class="border-none"':'' }>
							<div class="cnt-pro-img v-h-center">
								<a href="${contextPath}/car/${historyCar.id}.html">
									<img src="${historyCar.imgPath}/${historyCar.indexMainPicName}" title="${historyCar.online.title}" alt="${historyCar.online.title}" width="208px" height="166px"/>
								</a>
							</div>
							<div class="text-ellipsis cnt-pro-name">
								<a href="${contextPath}/car/${historyCar.id}.html">
									${historyCar.online.title}
								</a>
							</div>
							<div class="cnt-pro-info text-ellipsis">
								<span>${historyCar.registerMonth}</span>&nbsp;&nbsp;<span>${historyCar.mileage}万公里</span>
							</div>
							<div class="cnt-pro-info text-ellipsis">
								麦麦车一口价：<span class="price-sum">
								￥${historyCar.price}
							</span>
							</div>
						</li>
						</c:forEach>
					</ul>
				</div>
				<!--cnt-wrap end-->
				</c:if>
			</div>
			<div class="f-clear"></div>
		</div>
	</div>
	<!--#cnt end-->
	<%@ include file="../include/foot.jsp"%>
</body>
</html>